<template>
        <div id="temp1">
            <comment :id=id></comment>
        </div>
    </template>
    <script>
        import comment from '../subcom/comment.vue'
        export default {
            data() {
                return {
                    id:'',
                }
            },
            created() {
              this.id = this.$route.params.id
            },
            components:{
                comment,
            },
            methods: {
            }
        }
    </script>
    <style scoped>
        #temp1 {
            padding: 5px;
            margin-top: 20px;
        }
    </style>    